import { Capm } from "../util/Camp";
import { SuperChess } from '../chesses/Super.chess'
import { AREA, COL, ROW } from "../config/config";
// 棋子的引入
import { Chariot } from "../chesses/Chariot.chess";
import { Warhosre } from "../chesses/Warhosre.chess"
import { Gun } from "../chesses/Gun.chess";
import { Soilder } from "../chesses/Soiider.chess"
import { Bishop } from "../chesses/Bishop.chess"
import { Advisor } from "../chesses/Advisor.chess";
import { Leader } from "../chesses/Leader.chess"
// 保存一些必要的资料 new 棋子(位置,阵营)
export const camps = {
	Acamp: new Capm([
		new Chariot(1, 0),
		new Chariot(9, 0),
		new Warhosre(2, 0),
		new Warhosre(8, 0),
		new Gun(COL * 2 + 2, 0),
		new Gun(COL * 2 + 8, 0),
		new Soilder(COL * 3 + 1, 0),
		new Soilder(COL * 3 + 3, 0),
		new Soilder(COL * 3 + 5, 0),
		new Soilder(COL * 3 + 7, 0),
		new Soilder(COL * 3 + 9, 0),
		new Bishop(3, 0),
		new Bishop(7, 0),
		new Advisor(4, 0),
		new Advisor(6, 0),
		new Leader(5, 0)

	]),
	Bcamp: new Capm([
		new Chariot(AREA, 1),
		new Chariot(AREA - 8, 1),
		new Warhosre(AREA - 1, 1),
		new Warhosre(AREA - 7, 1),
		new Gun(COL * 7 + 2, 1),
		new Gun(COL * 7 + 8, 1),
		new Soilder(COL * 6 + 9, 1),
		new Soilder(COL * 6 + 7, 1),
		new Soilder(COL * 6 + 5, 1),
		new Soilder(COL * 6 + 3, 1),
		new Soilder(COL * 6 + 1, 1),
		new Bishop(AREA - 6, 1),
		new Bishop(AREA - 2, 1),
		new Advisor(AREA - 5, 1),
		new Advisor(AREA - 3, 1),
		new Leader(AREA - 4, 1)


	])
}